micro_utils.dokka
0.14.2
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
[common]SimpleMapperRepo
/
SimpleMapperRepo
Simple
Mapper
Repo
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)